<%@ include file="includes.jsp" %>

<h1>Combat results:</h1>
<h2>${combat.goodGuys.name} (good guys) vs ${combat.badGuys.name} (bad guys)</h2>
<p>
    ${combat.goodGuys.name} wounds taken: ${combat.goodGuysAttackZone.woundsTaken}
</p>
<p>
    ${combat.badGuys.name} wounds taken: ${combat.badGuysAttackZone.woundsTaken}
</p>
<h2>Result:</h2>
<p>
    ${combatResult}
</p>
<h3>${combat.goodGuys.name} chance of breaking: ${probabilityGoodGuysBreak}</h3>
<h3>${combat.badGuys.name} chance of breaking: ${probabilityBadGuysBreak}</h3>
<script type="text/javascript">
  ${combatResultJson}   
</script>
<div id="diagramTest"/>